﻿<controls:ChildWindow x:Class="LEEAAttendanceControl.Views.MessageDisplay"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="135" OverlayOpacity="0">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <StackPanel Orientation="Horizontal" Grid.Row="0" Margin="5">
            <Image x:Name="MessageImage" Width="48" Height="48" Margin="5,3,5,3"/>
            <TextBlock x:Name="MessageBlock" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="11"
                       FontWeight="Bold" Margin="10"/>
        </StackPanel>

        <StackPanel x:Name="ButtonsStack" Orientation="Horizontal" Grid.Row="1" Margin="5" HorizontalAlignment="Center">
            <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" Margin="0,0,10,0"/>
            <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23"/>
        </StackPanel>
    </Grid>
</controls:ChildWindow>